package com.sskj.b70.m;

import com.sskj.b70.BuildConfig;

/**
 * <pre>
 *     author : 吕志豪
 *     e-mail : 1030753080@qq.com
 *     time   : 2018/04/02
 *     desc   :
 *     version: 1.0
 * </pre>
 */

public class HttpConfig {
    //状态码---正确
    public static final int STATUS_OK = 0;
    //状态码---账户不存在,退出重新登录
    public static final int ACCOUNT_NO_EXIST = 100;
    public static final String BASE_URL = BuildConfig.BASE_URL;
    //登录接口
//    public static final String LOGIN = "/Home/Qbw/user_login";
    public static final String LOGIN = "/app/user/login";
    public static final String CHECK_PHONE_EXIST = "/home/api/check_mobile";
    //注册获取验证码
    //    public static final String SMS_SEND = "/Home/Qbw/send_sms";
    public static final String SMS_SEND = "/app/user/getTelCode";
    /**
     * 注册确定按钮
     */
//    public static final String REGISTER = "/Home/Qbw/sendCode";
    public static final String REGISTER = "/app/user/register";
    public static final String BIND_EMAIL = "/app/user/bindEmail";
    //安全中心重置密码
//    public static final String CHANGE_PWD = "/home/qbw/xiugai_pwd";
    public static final String CHANGE_PWD = "/app/user/alterPswd";
    /**
     * 获取K线数据
     */
    public static final String GOODS_INFO = "/app/KLine/history";
    public static final String New_INFO = "sexp/stock/getNewInfo";
    // 提币地址列表
//    public static final String ADDRESS_LIST = "/home/qbw/AddrList";
    public static final String ADDRESS_LIST = "/app/currencyAddress/currencyAddressList";
    // 提币地址--添加
//    public static final String ADDRESS_ADD = "/home/qbw/AddrManage";
    public static final String ADDRESS_ADD = "/app/currencyAddress/add";
    // 提币地址--删除
    public static final String ADDRESS_DEL = "/app/currencyAddress/del";

//    public static final String GET_USER_INFO = "/home/api/user_info";
    /**
     * 获取用户信息
     */
    public static final String GET_USER_INFO = "/app/personalInformation/getUserInfo";
    /**
     * 获取用户合约交易下单信息
     */
    public static final String TRADE_POSITION_LIST = "/app/personalInformation/getBillList";
    public static final String TRADE_DEPUTE_LIST = "/Home/Order/weituo";
    public static final String TRADE_DEAL_LIST = "/Home/Order/chengjiao";
    public static final String TRADE_INFO = "/app/leverDeal/getCapitalInfo";
    public static final String TRADE_LEVEL_CANCEL = "/app/leverDeal/cancelBill";
    /**
     * 创建杠杆（合约）交易订单
     */
    public static final String TRADE_LEVEL_CREATE = "/app/leverDeal/addBill";
    public static final String CHECK_PAY_PASS = "/home/api/check_tpwd";
    public static final String GET_EMAIL = "/home/api/public_data";
    /**
     * 用户协议
     */
    public static final String GET_XIEYI = "/app/protocol/getAppUserAgreement";
    /**
     * 杠杆（合约）持仓单平仓
     */
    public static final String TRADE_LEVEL_PINGCANG = "/app/leverDeal/closePosition";

    public static final String TRADE_RAISE_CREATE = "/home/api/tj_crowd";
    public static final String TRADE_CHENGJIAO_ALL = "/Home/Order/chengjiao";
    public static final String INVITE_URL = "http://192.168.1.227:8081/sendCode.html?tjuser=";
    public static final String TIME_DATA = "/home/api/timeData";
    public static final String SIGN = "/home/api/sign_in";
    //经纪人--我的推广
//    public static final String GET_INVITE_URL = "/home/api/link";
    public static final String GET_INVITE_URL = "/app/personalInformation/getCodeUrl";
    //资产管理--资产列表
//    public static final String ASEET_LIST = "/home/api/asset";
    public static final String ASEET_LIST = "/app/capital/getUserCapitalList";
    //资产管理--资产列表--提币申请
    public static final String WITHDRAW = "/app/capital/applyCharge";
//    public static final String WITHDRAW = "/Home/Order/ti_bi";
    /**
     * 充值记录
     */
//    public static final String RECHARGE_LIST = "/home/api/cz_record";
    public static final String RECHARGE_LIST = "/app/capital/getGoldEntryAndExitList";
    /**
     * 提币记录
     */
    public static final String WITHDRAW_LIST = "/home/api/tb_record";
    //充值
//    public static final String RECHARGE_URL = "/home/order/bpay";
    public static final String RECHARGE_URL = "/app/capital/inCoinAdress";
    public static final String LEVEL = "/home/api/get_lever";
    //忘记密码
//    public static final String RESET_PWD = "/home/qbw/reset_opwd";
    public static final String RESET_PWD = "/app/user/rewNewPwd";
    public static final String CHECK_CODE = "/home/api/check_code";
    //实名认证接口
//    public static final String IDENT_AUTH = "/Home/Qbw/set_renzheng";
    public static final String IDENT_AUTH = "/app/user/openImg";
    //    public static final String IDENT_AUTH = "/home/api/set_aut";
    //设置交易密码--设置交易密码
//    public static final String SET_PAY_PWD = "/home/qbw/reset_tpwd";
    public static final String SET_PAY_PWD = "/app/user/setTradePwd";
    public static final String TRADE_CHENGJIAO = "/home/order/add_order";
    public static final String TOTAL_CHENGJIAO = "/home/order/total_chengjiao";


    //    public static final String WLL = "http://www.bfex.wang";
    public static final String TOUTIAO = "/home/api/NewsList";
    /**
     * 公告列表
     */
//    public static final String NOTICE = "/home/api/NoticeList";
    public static final String NOTICE = "/app/contentNotice/view";
    //公告--具体信息
//    public static final String NOTICEDETAIL = "/home/api/Notice";
    public static final String NOTICEDETAIL = "/app/contentNotice/viewOne";
    public static final String CROWD = "/home/api/crowd";
    public static final String RAISE_LIST = "/home/api/mx_crowd";
    //    public static final String RAISE_INFO = "home/api/xq_crowd";
//    public static final String TJ_CROWD = "home/api/tj_crowd";
    public static final String PUBLIC_DATA = "/home/api/public_data";
    public static final String CREATE_COIN_ORDER = "/app/coinCoinDeal/addBill";
    public static final String INFO = "/home/trade/xinxi";
    /**
     * 币币交易，全部委托单
     */
    public static final String COIN_ENTRUST_LIST = "/app/coinCoinDeal/selCoinCoin";
    /**
     * 币币交易，委托中单
     */
    public static final String COIN_ENTRUSTING_LIST = "/app/coinCoinDeal/coinCoinEntrustIng";
    /**
     * 获取币种信息
     */
    public static final String CURRENCYLIST = "/common/status/getCoinType";
    /**
     * 币币交易取消订单
     */
    public static final String COIN_ORDER_CANCEL = "/app/coinCoinDeal/cancelBill";

    /*#################C2C交易##############*/
    /**
     * 成为商家
     */
    public static final String APPLY_SELLER = "/app/user/shopApplySplit";

    /**
     * 成为商家索要使用的保证金
     */
    public static final String FB_SHOP = "/app/sysSet/sysConfig";

    /**
     * 下单
     */
    public static final String FABI_ORDER = "/Home/Fbtrans/create_order";
    /**
     * C2C交易大厅
     */
    public static final String FABI_LIST = "/app/lawCoinDeal/lawCoinTrading";
    /**
     * 添加支付方式
     */
    public static final String ADD_PAY_PWD = "/app/infoPerfect/appAddPayWay";


    /**
     * 求购/售出 列表
     */
    public static final String FABI_PUBLISH_ORDER_LIST = "/app/lawCoinDeal/userLawCoinBill";
    /**
     * C2C订单详情
     */
    public static final String FABI_ORDER_INFO = "/Home/Fbtrans/orderDetail";
    /**
     * 标记已付款
     */
    public static final String FABI_ORDER_MARK_PAY = "/app/lawCoinDeal/sellBuyConfirme";
    /**
     * C2C取消订单
     */
    public static final String FABI_ORDER_CANCLE = "/app/lawCoinDeal/cancelLawCoinRecord";
    /**
     * 账单申诉
     */
    public static final String FABI_ORDER_ALLEGE = "/app/lawCoinDeal/appealLawCoinRecord";
    /**
     * 确认放行
     */
    public static final String FABI_ORDER_LET_GO = "/app/lawCoinDeal/sellBuyConfirme";
    /**
     * C2C下单
     */
    public static final String CREATE_FABI_ORDER = "/app/lawCoinDeal/lawCoinDeal";
    /**
     * 申请经纪人
     */
    public static final String APPLY_AGENT = "/app/user/updateBrokerApply";
    /**
     * 经纪人信息
     */
    public static final String AGENT_INFO = "/app/personalInformation/agentHomeInfo";

    /**
     * 客户，佣金
     */
    public static final String AGENT_COSTUM = "/app/personalInformation/getBrokerCommission";

    /**
     * 我的客户
     */
    public static final String AGENT_CLIENT = "/app/personalInformation/getBrokerMyClient";
    /**
     * 购买明细&&出售明细
     */
    public static final String ORDER_LIST_BUY = "/app/lawCoinDeal/selBuySellInfo";
    /**
     * 出售明细
     */
    public static final String ORDER_LIST_SELL = "/home/qbw/getFbMx_sell";
    /**
     * C2C自己发布的单子取消
     */
    public static final String FABI_PUBLISH_ORDER_CANCLE = "/app/lawCoinDeal/cancelLawCoinDealBill";
    /**
     * 获取版本信息
     */
    public static final String VERSION = "/app/protocol/getVersionUpgrade";
    /**
     * 用户其他的资产记录
     */
    public static final String ASSET_RECORD_LIST = "/app/capital/getCapitalBillList";
    /**
     * 用户USDT的资产记录
     */
    public static final String BALANCE_RECORD_LIST = "/Home/Qbw/caiwu";
    /**
     * 获取币种手续费
     */
    public static final String GET_COIN_FEE = "/app/capital/getTbFee";
    /**
     * 获取产品列表
     */
    public static final String PRODUCT_LIST = "/app/product/list";
    /**
     * 获取用户单个币种的信息，可用
     */
    public static final String ONE_COIN_INFO = "/app/coinCoinDeal/getOneCoinInfo";
    /**
     * 获取系统配置信息
     */
    public static final String SYS_CONFIG = "/app/sysSet/sysConfig";
    /**
     * type:
     * self_select    自选数据推送，需要在list传入自选代码 如：list:['BTC/USDT','ETC/USDT']
     * vb_depth_chanKey  区块链买五 卖五 推送
     * vb_ticke_chanKey  区块链 每种商品的推送
     */
    public static final String WS_STOCK = BuildConfig.WS_BASE_URL+"/app/webSocketServer?account=13383848500";
    /**
     * 获取币币交易盘口数据列表
     */
    public static final String COIN_PANKOU_LIST = "/app/KLine/getBuy5Sell5";
    /**
     * 杠杆交易成交量列表
     */
    public static final String TRADE_LEVEL_VOLUME = "/app/KLine/getDealVolume";
    /**
     * 获取币币交易手续费
     */
    public static final String COIN_FEE = "/app/sysSet/sysConfig";
    public static final String AGENT_COSTUM_CLIENT = "/app/personalInformation/getBrokerMyClient";
    public static final String COIN_ENTRUST_LIST_ALL = "/app/coinCoinDeal/selectCoinCoinMore";
    public static final String SEND_EMAIL_CODE = "/app/user/getEmailVcode";
    public static final String REGISTER_WITH_EMAIL = "/app/user/registerEmail";
    public static final String BIND_MOBILE = "/app/user/bindPhone";
    public static final String DAG_LIST_CHARGE = "/app/moneyCharge/listsCharge";
    public static final String DAG_LIST_MONEY = "/app/moneyCharge/listsMoney";
    public static final String RESET_PWD_WITH_EMAIL = "/app/user/rewEmailNewPwd";
    public static final String UPLOAD_IMG = "/common/file/upImg";
    public static final String VERIFY_IDENT = "/app/user/openAccount";
    public static final String ADD_PAY_WAY = "/app/infoPerfect/pcAddPayWay";

    /**
     * 支付方式列表
     */
//    public static String PAY_WAY_LIST = "/home/Fbtrans/pay_list";
    public static String PAY_WAY_LIST = "/app/infoPerfect/selPayWay";
    /**
     * 发布 或 求购 C2C交易
     */
    public static String PUBLISH = "/app/lawCoinDeal/addBill";
    /**
     * 改变支付方式开关
     */
//    public static String CHANGE_SWITCH = "/home/qbw/set_pay_status";
    public static String CHANGE_SWITCH = "/app/infoPerfect/disablePay";

    /**
     * 撤销商家
     */
    public static String RELIEVE_BUSINESS = "/Home/Fbtrans/del_shop";
    /**
     * 获取C2C交易发布求购单价
     */
    public static String PUBLISH_PRICE = "/Home/Fbtrans/get_price";
    /**
     * 基金管理统计数据接口
     */
    public static String FUND_MANAGEMENT = "/home/Fund/index";
    /**
     * 基金划转明细
     */
    public static String FUND_RECORD = "/home/Fund/bflist";
    /**
     * 基金划转
     */
    public static String FUND_TRANSFER = "/home/Fund/transform";
    /**
     * 基金分红记录
     */
    public static String FUND_LIST = "/home/Fund/fundlist";
    /**
     * 基金挖矿记录
     */
    public static String FUND_MINING_LIST = "/home/Fund/mininglist";


}
